<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>   
<%@ taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt" %>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
	a{
		text-align: center;
		text-decoration: none;
		color: blue; 
	}
	a:hover{
		color:red;
	}
	td{
		font-size: 20px;
	}

</style>
</head>
<body style="margin: 0px">
		<h1>采购单审核---
			<span>
				<c:choose>
					<c:when test="${auditType=='firstAudit' }">部门经理审核</c:when>
					<c:when test="${auditType=='secondAudit' }">校长审核</c:when>
					<c:when test="${auditType=='thirdAudit' }">财务审核</c:when>
				</c:choose>
			</span>
		</h1>
	<form action="${pageContext.request.contextPath }/submitAudit.do" method="post">
		<input type="hidden" name="orderId" value="${m.id }">
		<input type="hidden" name="auditType" value="${auditType}">
		<input type="hidden" name="taskId" value="${taskId}">
		
		
		<Table>
			<Tr>
				<Td>采购单名称:</Td><Td style="color:blue">${m.name }</Td>
			</Tr>
			<Tr>                              
				<Td>采购单金额:</Td><Td style="color:Red"><fmt:formatNumber value="${m.price}" type="currency"/></Td>
			</Tr>
			<Tr>
				<Td>采购详情:</Td><Td  style="color:blue">${m.content }</Td>
			</Tr>
			<Tr>
				<Td>经办人:</Td><Td>${m.user_id }</Td>
			</Tr>
			<Tr>
				<Td>申请时间:</Td>
				<Td>
					<fmt:formatDate value="${m.createtime }" pattern="yyyy-MM-dd"/>
				</Td>
			</Tr>
			<Tr>
				<Td>审核意见:</Td>
				<Td>
					<textarea rows="6" cols="50" name="auditInfo"></textarea>
				</Td>
			</Tr>
			<Tr>
				<Td colspan="2">
					<input type="radio" name="status" value="1" checked="checked"/>通过
					<input type="radio" name="status" value="0"/>不通过
				</Td>
			</Tr>
			<Tr>
				<Td colspan="2">
					<input type="submit" value="提交审核意见"/>
					<input type="button" value="返回" onclick="history.back()"/>
				</Td>
			</Tr>
		</Table>
	</form>	
</body>
</html>